<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #box {
            width: 100px;
            height: 100px;
            border: 1px solid #000;
        }
    </style>
</head>

<body>

    <div id="box">

    </div>

</body>
<script>



    /* 
     箭头函数里面不可以使用 arguments 对象。 Uncaught ReferenceError: arguments is not defined
     */
    const sum = () => {
        console.log(arguments);
    }

    console.log(sum(1, 2, 3, 4, 5, 6, 7, 8, 9, 10));







</script>

</html>